<?php
/**
 * @version 0.8.3 2010-10-07
 * @package Joomla
 * @subpackage LeagueResults
 * @copyright (C)  2008, 2009, 2010 Henryk Drozd
 * @license GNU/GPL, see LICENSE.php
 * LeagueResults is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License 2
 * as published by the Free Software Foundation.

 * LeagueResults is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
defined('_JEXEC') or die('Restricted access');

?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
	<table cellspacing="0" cellpadding="0" border="0" width="100%">
		<tr>
			<td valign="top">
				<table  class="adminform">
					<tr>
					
										<td>
						<label for="club_id">
							<?php echo JText::_( 'CLUB' ).':'; ?>
						</label>
					</td>
					<td>
						<?php
						echo $this->Lists['club']
						?>
					</td>
					</tr>
					<tr>
						<td>
							<label for="name">
								<?php echo JText::_( 'NAME' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="name" value="<?php echo $this->row->name; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="shortname">
								<?php echo JText::_( 'SHORTNAME' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="shortname" value="<?php echo $this->row->shortname; ?>" size="50" maxlength="100" disabled />
						</td>
					</tr>
					<tr>
						<td>
							<label for="tablename">
								<?php echo JText::_( 'TABLENAME' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="tablename" value="<?php echo $this->row->tablename; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="tbadge">
								<?php echo JText::_( 'TEAM BADGE' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="tbadge" value="<?php echo $this->row->tbadge; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="published">
								<?php echo JText::_( 'PUBLISHED' ).':'; ?>
							</label>
						</td>
						<td>
							<?php
							$html = JHTML::_('select.booleanlist', 'published', 'class="inputbox"', $this->row->published );
							echo $html;
							?>
						</td>
					</tr>
					</table>
					<table><tr><td><?php JText::_('DESCRIPTION')?></td></tr>
					<tr><td>
						<?php
						// parameters : areaname, content, hidden field, width, height, rows, cols JText::_('DESCRIPTION')
						echo $this->editor->display( 'description',  $this->row->description, '100%;', '150', '75', '20', array('pagebreak', 'readmore') ) ;
						?>
					</td></tr>
					</table>
				</td></tr>
				</table>

<?php echo JHTML::_( 'form.token' ); ?>
<input type="hidden" name="option" value="com_lr" />
<input type="hidden" name="id" value="<?php echo $this->row->id; ?>" />
<input type="hidden" name="controller" value="teams" />
<input type="hidden" name="view" value="team" />
<input type="hidden" name="task" value="" />
</form>
<?php
//print_r ($this);
?>
<p class="copyright">
		<?php echo lrAdmin::footer( ); ?>
</p>
	